# 作业二
import math

print("请输入整数")
a = int(input("请输入语文成绩："))
b = int(input("请输入数学成绩："))
c = int(input("请输入英语成绩："))
sum = math.fsum([a, b, c])
print("总分:%d" % sum)
rms = sum / 3
print("平均值：%f" % rms)
